Auto merge of #3518 - Manishearth:static-mut, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 9 Jan 2017 19:46:09 +0000 (19:46 +0000)
committerbors <bors@rust-lang.org>
Mon, 9 Jan 2017 19:46:09 +0000 (19:46 +0000)
Replace static mut bool with atomicbool

unsafe in tests is fine, but it can be trivially avoided in this case.

r? @alexcrichton

cc @froydnj


Trivial merge